from scrapy import cmdline

# 启动爬虫
cmdline.execute("scrapy crawl lianjia_house".split())
# cmdline.execute("scrapy crawl lianjia -o sz-lianjia.csv -s FEED_EXPORT_ENCODING=UTF-8".split())
# cmdline.execute("scrapy crawl lianjia_house -o lianjia.csv -s FEED_EXPORT_ENCODING=UTF-8 ".split())
